#include<iostream>
#include<cmath>
using namespace std;
int main()
 {
	int x,y,z;
	for(x=100; x<=200; x++)
	 {
		z=int(sqrt(x));
		int flag = 0;
		for(y=2; y<=z; y++)
		 {
			if(x%y==0) 
			{
				flag=1;
				break;
			}
		}
		if(flag == 0)
			cout<<x<<endl;
	}
	return 0;
}
